// 注册请求接口

// 用于定义发送请求函数
import myAxios from '@/utils/myAxios';

// 1.根据手机号，获取验证码
export const reqGetCode = (phone) =>
  myAxios.get(`/api/user/passport/sendCode/${phone}`);

// 2.注册用户
export const reqRegister = (params) =>
  myAxios.post('/api/user/passport/register', params);
